using System.Collections.Generic;
using IQIGame.Onigao.Framework;
using IQIGame.Onigao.GamePlay;
using NetProtocol.POD;

namespace IQIGame.Onigao.Logic
{
    public class BattleUpdateResultContrller : TController
    {
        public List<BattleUpdatePOD> result = new List<BattleUpdatePOD>();

        public void Add(BattleUpdatePOD rPOD)
        {
            this.result.Add(rPOD);
        }

        public List<BattleUpdatePOD> GetResult()
        {
            var rList = new List<BattleUpdatePOD>(result);
            result.Clear();
            return rList;
        }

        protected override void OnDispose()
        {
            this.result.Clear();
        }
    }
}